package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;
import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {
    PageInfo<Permission> findPage(QueryPageBean queryPageBean);

    void add(Permission permission);

    void update(Permission permission);

    void deleteById(Integer id);

    List<String> findkeywords();

    List<String> findkeynames();
}
